package com.ibeeking.found.msg.rest.service;

import com.ibeeking.nematos.msg.sms.aliyun.dto.SmsResultDto;
import com.ibeeking.nematos.utils.result.ResponseResult;

import java.util.Map;

/**
 * @ClassName ISendSmsService
 * @Description 发送短信
 * @Author ibeeking
 * @Date 2020-12-10 9:21
 **/
public interface ISmsRecordService {

    /**
     * 保存短信发送记录
     *
     * @param tenantId
     * @param typeId
     * @param receiver:多个用，号隔开
     * @param param
     * @param responseResult
     */
    void smsMsgRecord(Integer tenantId, Long typeId, String receiver, Map<String, String> param, ResponseResult<SmsResultDto> responseResult);
}
